#include <iostream>
#include <string>
#include <functional>

void print(const char *str, int num){
    std::cout << str << " " << num << std::endl;
}

int main(){
    print("hello", 10);
    auto func = std::bind(print, "hello", std::placeholders::_1);
    print("hello", 10);
    func(100);
    return 0;
}
